<!--目录-->
<?php if(!empty($list))foreach ($list as $value){if(!empty($value['list'])){?>
<div class="clear"></div>
<div class="copyright_list"></div>
<div class="titleh_list"><?=$value['type_title']?>小说</div>
<div class="list">
    <?php if(!empty($value['list']))foreach ($value['list'] as $val){?>
        <div class="shop">
            <div class="shop-info">
                <b>《<?=$val['title']?>》</b>
            </div>
            <div class="shop-info">
                <?=!empty($val['author']) ? $val['author'].' [著]' : '暂未获取'?>
            </div>
            <div class="shop-info">
                <?php if(!empty($val['source']))foreach ($val['source'] as $k => $v){if($k <= 2){
                    $str = $source[$v['source']]?>
                <a title="<?=$val['title']?>" href="<?=$v['url']?>" target="_blank" onclick="novelClick(<?=!empty($v['id'])?$v['id']:''?>)">去<?=$str?>下载</a>
                <?php }}?>
            </div>
        </div>
    <?php }?>
</div>
<?php }}?>